<!-- 待发货 -->
<template>
	<view class="">
		<block v-for="(v, indey) in item.tradeOrderItemVO" :key="indey">
			<view class="flex flex-column" @click="toDetail">
				<order-item-list-good :item="v"></order-item-list-good>
				<view class="flex align-center justify-end text-center">
					<dy-button width="140rpx" @click="btn(v)">晒单评价</dy-button>
				</view>
			</view>
		</block>
	</view>
</template>

<script>
	export default {
		name:"order-item-appraise",
		props: {
		  item: {
				type: Object,
				default() {
					return {}
				}
			}
		},
		methods: {
			btn(v) {
				let params = {
					itemId: v.itemId,
					orderId: this.item.orderId,
					skuId: v.skuId,
				}
				uni.navigateTo({
					url: '/pages/order/mineOrderEvaluateAdd/mineOrderEvaluateAdd?info=' + JSON.stringify(params)
				})
			},
			toDetail() {
				uni.navigateTo({
					url: '/pages/order/mineOrderDetail/mineOrderDetail?orderId=' + this.item.orderId
				})
			}
		}
		
	}
</script>

<style scoped lang="scss">
</style>
